home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 4 / ETO Development Tools 4.iso / Essentials / MacApp Documentation / MacApp.TECH$ Archives / 1988 / Jan 88 / Re-MacApp Questions 1⁄15 < prev    next >
Encoding:
Text File  |  1991-03-06  |  1.3 KB  |  35 lines  |  [TEXT/GEOL]

  1. Item    7998945                         15-Jan-88        10:34
  2.  
  3. From:   BIANCHI1                        Bianchi, Curt
  4.  
  5. To:     A33                             Drexel U, Nadine Perkey, ASC
  6.  
  7. cc:     MACAPP$                         MacApp Interest List
  8.  
  9. Sub:    Response to MacApp questions
  10.  
  11. Keith,
  12.  
  13. In response to your questions:
  14.  
  15. 1.  You can tell if a mouse click is a double click in your DoMouseCommand
  16. method by looking at the theClickCount field of the info parameter.
  17.  
  18. 2.  Don't know the cause of your cursor problem.
  19.  
  20. 3.  MacApp does not include a method or routine to center a dialog.  It
  21. probably should though.
  22.  
  23. 4.  If I understand the problem correctly, you don't want to create a new
  24. document when the user double-clicks your application.  Rather you want the
  25. user to be able to open an existing one.  The thing to do is to override
  26. TApplication.HandleFinderRequest.  It is called once, from TApplication.Run,
  27. and it handles the three was in which an app can be started from the Finder:
  28. The app was started by itself in which case it creates a new document,  the app
  29. was started with one or more data files to be opened, or the app was started
  30. with one or more data files to be printed.  By overriding HandleFinderRequest
  31. you can change its behavior for any of the three cases.
  32.  
  33. Curt
  34.  
  35.